package org.diffshop.product.dao;

import org.apache.ibatis.annotations.Param;
import org.diffshop.product.entity.PmsAttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 属性&属性分组关联
 *
 * @author tjf
 * @date 2024-05-08 16:04:20
 */
@Mapper
public interface PmsAttrAttrgroupRelationDao extends BaseMapper<PmsAttrAttrgroupRelationEntity> {

    Long selectGroupIdByAttrId(@Param("attrId") Long attrId);

    void deleteBatch(@Param("entityList") List<PmsAttrAttrgroupRelationEntity> entityList);
}
